﻿using System.Collections.ObjectModel;
using InseSoft.Models.Entities;
using InseSoft.ViewModels.Events;

namespace InseSoft.ViewModels
{
    public interface ICatalogSearchViewModel
    {
        ObservableCollection<CatalogEntity> RecordList { get; set; }
        ObservableCollection<CatalogEntity> FilteredList { get; set; }
        CatalogEntity SelectedItem { get; set; }
        string SearchPattern { get; set; }
        void LoadRecordList(ObservableCollection<CatalogEntity> recordList);
        IEventPublisher EventAggregator { get; set; }
    }
}